import {createRouter, createWebHistory} from "vue-router";
import { constantRoute } from './routers'

const router = new createRouter({
    history: createWebHistory(),
    routes: [
        ...constantRoute
    ],
    scrollBehavior() {
        return {
          left: 0,
          top: 0,
        }
      },

})
export default router

